package com.gxa.modules.community.mapper;

import com.gxa.modules.community.entity.AnnouncementList;
import com.gxa.modules.community.entity.CommunityAnnouncement;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CommunityAnnouncementMapper {
    List<CommunityAnnouncement> queryCommunityAnnouncement(String readState);
    List<AnnouncementList> announcementList(String id);
    void announcementUpdateReadState(String id);
}
